/*
 * Timer.h
 *
 *  Created on: 28/08/2014
 *      Author: santosma
 */

#ifndef TIMER_H_
#define TIMER_H_

#include <time.h>

class Timer {
private:
	clock_t clockinit;
	clock_t clockend;
	float seconds;
public:
	Timer();// controi um relogio

	virtual ~Timer();// destroi o relogio

	void start();// inicia o relogio

	void pause();// pausa o relogio

	float stop();// para o relogio e retorna o tempo total
};

#endif /* TIMER_H_ */
